import { createApp } from 'vue'
import App from './App.vue';
import ElementPlus from 'element-plus'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import 'element-plus/dist/index.css'
import router from './router/index';
import store from './store';
import globalComponents from '@/utils/globalComponents';
import globalProperties from '@/utils/properties';
import highlight from './utils/highlight';
import directive from './utils/directive';

const app = createApp(App)
app.use(router);
app.use(store);
app.use(ElementPlus, { locale: zhCn });
app.use(globalComponents);
app.use(globalProperties);
app.use(highlight)
directive(app);
app.mount('#app');
